package com.yhn.init.model.enums;

import lombok.Getter;

/**
 * 订单状态
 *
 * @author yhn
 * @version 1.0
 * @description
 * @date 2024/3/20 19:13
 */
@Getter
public enum OrderStatusEnum {
    CREATED("创建成功", "created"),
    COMPLETED("完善成功", "completed"),
    APPROVED("审批通过", "approved"),
    REJECTED("审批不通过", "rejected"),
    FINISHED("订单完成", "finished"),
    EXCEPTION("订单异常", "fail");

    private final String text;

    private final String value;

    OrderStatusEnum(String text, String value) {
        this.text = text;
        this.value = value;
    }

}
